Stone Duality between Queries and Data
نویسنده
چکیده
The Stone dualities for accessible categories and the subclass of Diers categories provide limit and colimit structuring principles for query languages and the associated database. As a motivating example, we consider relational databases. Relational databases are given by database schemata, the syntax, and the class of sets of relations satisfying the syntactic constraints, called instances. Relational database schemata are shown to be sketched by nite limit sketches. Such sketches include all the usual kinds of dependencies: functional, join and inclusion. The addition of domain constraints results in ((nite limit, countable coproduct)-sketches. Without inclusion dependencies, the accessible category of models of the database sketch consists of all the satisfying instances and homomorphisms between them. With inclusion dependencies, the instances are equivalence classes of the models. Without domain constraints the model category is locally presentable. With domain constraints the model category is locally multipresentable. i.e., a Diers category. The duality theory provides an entirely new means of expressing queries as formal sums of database instances. 1. Introduction A model is a system of sets with relations and functions providing constraints upon the set system. A class of models, all similarly structured, together with the structure preserving maps between them is a category. We consider such categories to be categories of structured data, abstracting the structured data recorded in a computer. There are many examples of such model categories of interest in computer science, both pure and applied. We concentrate on only one such class of examples, relational databases. This enables us to show most of the details for these examples and provides substantive weight to our primary considerations, the duality between model categories of data and the queries on the data. Our interest lies solely in the model categories which are accessible, 20]. Accessible categories may be speciied via a sketch, 20, 9, 4]. We give a brief description of sketches in later sections. Sentences in basic logic and sketches have equivalent model theories. That is, for every sentence in basic logic there is a sketch with the same category of models, and visa versa, 20]. As this reference points out, little of L 11 is lost by considering only basic logic. For these reasons, sketches are called graph-based logic in 8]. For some situations, the sentence, i.e., theory, in basic rst-order logic is the preferred choice for a speciication of computational data and activities. For other situations, a sketch provides the …
منابع مشابه
STONE DUALITY FOR R0-ALGEBRAS WITH INTERNAL STATES
$Rsb{0}$-algebras, which were proved to be equivalent to Esteva and Godo's NM-algebras modelled by Fodor's nilpotent minimum t-norm, are the equivalent algebraic semantics of the left-continuous t-norm based fuzzy logic firstly introduced by Guo-jun Wang in the mid 1990s.In this paper, we first establish a Stone duality for the category of MV-skeletons of $Rsb{0}$-algebras and the category of t...
متن کاملDualities in Lattice Theory
In this note we prove several duality theorems in lattice theory. We also discuss the connection between spectral spaces and Priestley spaces, and interpret Priestley duality in terms of spectral spaces. The organization of this note is as follows. In the first section we collect appropriate definitions and basic results common to many of the various topics. The next four sections consider Birk...
متن کاملImprovement of the Analytical Queries Response Time in Real-Time Data Warehouse using Materialized Views Concatenation
A real-time data warehouse is a collection of recent and hierarchical data that is used for managers’ decision-making by creating online analytical queries. The volume of data collected from data sources and entered into the real-time data warehouse is constantly increasing. Moreover, as the volume of input data to the real time data warehouse increases, the interference between online loading ...
متن کاملStone Duality and the Recognisable Languages over an Algebra
This is a theoretical paper giving the extended Stone duality perspective on the recently discovered connection between duality theory as studied in non-classical logic and theoretical computer science and the algebraic theory of finite state automata. As a bi-product we obtain a general result about profinite completion, namely, that it is the dual under extended Stone duality of the recognisa...
متن کاملDuality and Decision
Duality theories are proposed as a basis for the construction of certain state spaces that appear in Decision Theory. This is considered in more detail in the particular case of Stone Duality. Topological cancellation axioms for preference are introduced. These are used to produce a form of representation for preference between particular acts over state spaces that are Stone spaces. The well-k...
متن کامل